﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for News
/// </summary>
public class News
{

    private int codeNews;

    public int CodeNews
    {
        get { return codeNews; }
        set { codeNews = value; }
    }
    private string title;

    public string Title
    {
        get { return title; }
        set { title = value; }
    }
    private string contentSummary;

    public string ContentSummary
    {
        get { return contentSummary; }
        set { contentSummary = value; }
    }
    private string content;

    public string Content
    {
        get { return content; }
        set { content = value; }
    }
    private string imageNews;

    public string ImageNews
    {
        get { return imageNews; }
        set { imageNews = value; }
    }
    private DateTime dateUp;

    public DateTime DateUp
    {
        get { return dateUp; }
        set { dateUp = value; }
    }
    public News()
    {
    }
    public News(int codenews, string title, string contentSummary, string content, string imageNews, DateTime dateUp)
    {
        CodeNews = codenews;
        Title = title;
        ContentSummary = contentSummary;
        Content = content;
        ImageNews = imageNews;
        DateUp = dateUp;
    }
    public News(int codenews, string title, DateTime dateUp)
    {
        CodeNews = codenews;
        Title = title;
        DateUp = dateUp;
    }
}